package com.demo.apparel.service.uniapp;

import com.demo.apparel.dto.uniapp.GoodsCreateDTO;
import com.demo.apparel.dto.uniapp.GoodsUploadDTO;
import com.demo.apparel.dto.uniapp.GoodsWithAvatarDTO;
import com.demo.apparel.entity.Goods;
import com.demo.apparel.vo.PageVO;
import com.fasterxml.jackson.core.JsonProcessingException;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface WxGoodsService {
    void createGoods(GoodsUploadDTO dto, String userId) throws JsonProcessingException;

    PageVO<GoodsWithAvatarDTO> getGoodsPage(int pageNum, int pageSize, String name,String category);
    GoodsCreateDTO getGoodsDetailById(String goodsId);
}
